package com.shop.cereshop.agent.dao.behavior;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.agent.page.collect.AgentCollectListVO;
import com.shop.cereshop.commons.domain.behavior.CereAgentBehavior;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AgentBehaviorDAO extends BaseMapper<CereAgentBehavior> {
    Integer getCollectState(@Param("agentUserId") Long agentUserId,
                            @Param("productId") Long productId);

    List<AgentCollectListVO> getCollectList(@Param("agentUserId") Long agentUserId);

    List<AgentCollectListVO> getViewList(Long agentUserId);
}